package com.project.estate.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.estate.commons.bean.Community;
import com.project.estate.commons.config.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface CommunityService extends IService<Community> {

    //添加信息
    JsonResult addCommunity(Community community);

    //删除
    JsonResult deleteCommunity(String code_id);

    //修改
    JsonResult updateCommunity(String code_id,Community community);

    //查询
    JsonResult findCommunityById(String code_id);
}
